﻿using Rbac.Project.Domain;
using System;
using System.Collections.Generic;
using System.Text;

namespace Rbac.Domain
{   
    public class Menu : Audit
    {
        /// <summary>
        /// 菜单ID
        /// </summary>
        public int MenuId { get; set; }
        /// <summary>        
        /// 菜单名称
        /// </summary>
        public string MenuName{ get; set; }        
        /// <summary>        
        /// 父ID
        /// </summary>
        public int ParentId{ get; set; }
        /// <summary>        
        /// 菜单类型
        /// </summary>
        public MenuType MenuType { get; set; }
        /// <summary>        
        /// 路由路径
        /// </summary>
        public string MenuRoute{ get; set; }        
        /// <summary>        
        /// 菜单图标
        /// </summary>
        public string Icon{ get; set; }        
        /// <summary>        
        /// API接口
        /// </summary>
        public string MenuAPI{ get; set; }
        /// <summary>        
        /// 路由名称
        /// </summary>
        public string RouteName { get; set; }
        /// <summary>        
        /// 重定向
        /// </summary>
        public string Redirect { get; set; }
        /// <summary>        
        /// 组件路径
        /// </summary>
        public string Component { get; set; }
    }
 }